import { mount } from 'svelte';

export type * from './Message';
import Messages from './Messages.svelte';
import usePortal from '../utils/usePortal';

const ele = usePortal("cm-message-portal", "cm-message-portal")
export const message = mount(Messages, {target: ele});
